// RUN_PIPELINE_TILL: FRONTEND
val p1: Int = 1 - 1
val p2: Long = 1 - 1
val p3: Byte <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1
val p4: Short <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1

val l1: Long = 1 - 1.toLong()
val l2: Byte <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toLong()
val l3: Int <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toLong()
val l4: Short <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toLong()

val b1: Byte <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toByte()
val b2: Int = 1 - 1.toByte()
val b3: Long <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toByte()
val b4: Short <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toByte()

val i1: Byte <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1L.toInt()
val i2: Int = 1 - 1L.toInt()
val i3: Long <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1L.toInt()
val i4: Short <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1L.toInt()

val s1: Byte <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toShort()
val s2: Int = 1 - 1.toShort()
val s3: Long <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toShort()
val s4: Short <!INITIALIZER_TYPE_MISMATCH!>=<!> 1 - 1.toShort()

/* GENERATED_FIR_TAGS: additiveExpression, integerLiteral, propertyDeclaration */
